import Main from "@/components/main";

export default [
  {
    path: "/maint",
    name: "maint",
    meta: {
      icon: "logo-buffer",
      title: "运维管理"
    },
    component: Main,
    children: [
      {
        path: "/maintenance",
        name: "maintenance",
        meta: {
          icon: "logo-buffer",
          title: "维保单位"
        },
        component: resolve =>
          void require([
            "@/view/maint/maintenance/maintenanceTable.vue"
          ], resolve)
      },
      {
        path: "/mUser",
        name: "mUser",
        meta: {
          icon: "logo-buffer",
          title: "维保人员管理"
        },
        component: resolve =>
          void require([
            "@/view/maint/muser/mUserTable.vue"
          ], resolve)
      },
      {
        path: "/maint-list",
        name: "maint-list",
        meta: {
          icon: "logo-buffer",
          title: "维保列表"
        },
        component: resolve =>
          void require(["@/view/maint/maint-list/maintList.vue"], resolve)
      },
    ]
  }
];
